ConnectError

data class ConnectError(val message: String, val data: String? = null) : SocketError

A namespace connection was refused by the server.

message is the human-readable reason (the message field of the server's error, or the raw payload if it was not a {message, data} object). data is the JSON-encoded data field the server attached, or null when absent.

Constructors

Link copied to clipboard
constructor(message: String, data: String? = null)

Properties

Link copied to clipboard
val data: String? = null
Link copied to clipboard